package org.jeecg.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author guoyh
 * @ClassName CustomProperties
 * @Description
 * @since 2020/8/16 01:12
 **/
@Component
@ConfigurationProperties(prefix = "custom")
@Data
public class CustomProperties {

    private String h5Domain;

    private String accountId;

    private IM im;

    @Data
    public static class IM{

        private Long appid;

        private String secret;

        private String admin;

        private String ver;
    }
}
